PROJECT (server-demo)

find_package(Threads)
SET(CMAKE_CXX_STANDARD 11)
SET(SRC_LIST main.cpp tcpSocket.h tcpSocket.cpp)

MESSAGE(STATUS "This is BINARY dir " ${server-demo_BINARY_DIR})
MESSAGE(STATUS "This is SOURCE dir " ${server-demo_SOURCE_DIR})

ADD_EXECUTABLE(server-demo ${SRC_LIST})
target_link_libraries(server-demo ${CMAKE_THREAD_LIBS_INIT})
